// ********* Types ***********//

function Album(title) {
    
    // properties
    this.title = title;
    this.photos = new Array();

    // methods
    this.addPhoto = function (photo) {
        this.photos.push(photo);
    }

}


function Photo(caption, thumb, image) {

    // properties
    this.caption = caption;
    this.thumb = thumb;
    this.image = image;
}